package cn.gson.school.mappers.xitong;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import cn.gson.school.entity.xitong.DeptEntity;
import cn.gson.school.entity.xitong.RoleEntity;
import cn.gson.school.entity.xitong.UserInfoEntity;

/**
 * 员工Mapper
 * 
 * @author Administrator
 *
 */
@Mapper
public interface EmpMapper {

	List<UserInfoEntity> selectAll(UserInfoEntity emp);

	List<DeptEntity> deptList();

	List<RoleEntity> roleList();
	
	UserInfoEntity userid(@Param("userId") Long id);
}
